package pers.lws.erp.mapper;

import org.springframework.stereotype.Repository;
import pers.lws.erp.entity.ProcessFile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import pers.lws.erp.entity.ProductFile;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuws
 * @since 2020-09-20
 */

@Repository
public interface ProcessFileMapper extends BaseMapper<ProcessFile> {


    List<ProductFile> show();

    List<ProductFile> show2();

    int add(ProcessFile list);

    int add2(ProcessFile list);

    //获取序号
    String getId();

    //修改产品工序设计状态
    int updProcessCheck(String id);

    //工序审核
    int sh(String id);
    int sh2(String id);
    //得到组装
    ProcessFile getZz(String id);

    //得到包装
    ProcessFile getBz(String id);

    //审核状态
    List<ProcessFile> show3();
}
